package io.renren.service.impl;

import io.renren.entity.VO.SocialSecurityAreaBasicUpdateEntityVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.SocialSecurityAreaBasicUpdateDao;
import io.renren.entity.SocialSecurityAreaBasicUpdateEntity;
import io.renren.service.SocialSecurityAreaBasicUpdateService;



@Service("socialSecurityAreaBasicUpdateService")
public class SocialSecurityAreaBasicUpdateServiceImpl implements SocialSecurityAreaBasicUpdateService {
	@Autowired
	private SocialSecurityAreaBasicUpdateDao socialSecurityAreaBasicUpdateDao;
	
	@Override
	public SocialSecurityAreaBasicUpdateEntity queryObject(Integer id){
		return socialSecurityAreaBasicUpdateDao.queryObject(id);
	}
	
	@Override
	public List<SocialSecurityAreaBasicUpdateEntityVO> queryList(Map<String, Object> map){
		return socialSecurityAreaBasicUpdateDao.queryVOList(map);
		//return socialSecurityAreaBasicUpdateDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return socialSecurityAreaBasicUpdateDao.queryTotal(map);
	}
	
	@Override
	public void save(SocialSecurityAreaBasicUpdateEntity socialSecurityAreaBasicUpdate){
		socialSecurityAreaBasicUpdateDao.save(socialSecurityAreaBasicUpdate);
	}

	@Override
	public void update(SocialSecurityAreaBasicUpdateEntity socialSecurityAreaBasicUpdate){
		socialSecurityAreaBasicUpdateDao.update(socialSecurityAreaBasicUpdate);
	}
	
	@Override
	public void delete(Integer id){
		socialSecurityAreaBasicUpdateDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		socialSecurityAreaBasicUpdateDao.deleteBatch(ids);
	}
	
}
